<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>获取客户端请求信息</title>
</head>
<body>
<h1>HTTP请求模式：<%=request.getMethod()%></h1>
<h1>HTTP协议版本：<%=request.getProtocol()%></h1>
<h1>URL重写信息：<%=request.getQueryString()%></h1>
<h1>客户端IP地址：<%=request.getRemoteAddr()%></h1>

<h1>URI信息：<%=request.getRequestURI()%></h1>
<h1>URL信息：<%=request.getRequestURL()%></h1>
</body>
</html>
